home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9520 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  59 lines

  1. Path: news.clark.net!not-for-mail
  2. From: dmpalmer@clark.net (David M. Palmer)
  3. Newsgroups: comp.lang.c++
  4. Subject: STL on VMS DEC Alpha CXX?
  5. Date: 28 Feb 1996 12:08:10 -0500
  6. Organization: Clark Internet Services, Inc., Ellicott City, MD USA
  7. Message-ID: <4h225q$32k@clark.net>
  8. NNTP-Posting-Host: explorer.clark.net
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Newsreader: NN version 6.5.0 #6 (NOV)
  13.  
  14. Does anybody have a working implementation of STL on the Alpha under VMS
  15. using the C++ compiler from DEC CXX.
  16.  
  17. Either a set of patches to the downloads from the HP ftp site, or the
  18. name of a commercial vendor with a working version.
  19.  
  20. I am using CXX v 5.2 .
  21.  
  22. When I try to use it, I get loads of errors:
  23.  
  24. $ create test.cxx
  25. #include <deque.h>
  26. main()
  27. {
  28.         deque<int> intDeque;
  29. }
  30.  Exit 
  31. $ cxx/include_directory=tgrs2$dkb0:[stl] test.cxx
  32.  
  33.     typedef Allocator<T>::reference reference;
  34. ....................................^
  35. %CXX-E-DECLARATION, Invalid declaration.
  36. at line number 44 in file TGRS2$DKB0:[STL]DEQUE.H;1
  37.  
  38.     typedef Allocator<T>::const_reference const_reference;
  39. ..........................................^
  40. %CXX-E-DECLARATION, Invalid declaration.
  41. at line number 45 in file TGRS2$DKB0:[STL]DEQUE.H;1
  42.  
  43.     typedef Allocator<T>::size_type size_type;
  44. ....................................^
  45. %CXX-E-DECLARATION, Invalid declaration.
  46. at line number 46 in file TGRS2$DKB0:[STL]DEQUE.H;1
  47.  
  48. and many more pages.
  49.  
  50. Thanks in advance.
  51.  
  52.             David Palmer
  53.  
  54.  
  55.  
  56. -- 
  57.             David Palmer
  58.             dmpalmer@clark.net
  59.